home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8740 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  773 b 

  1. Path: news.uh.edu!usenet
  2. From: Sensarn <txs53132@bayou.uh.edu>
  3. Newsgroups: comp.lang.c++,comp.os.msdos.programmer
  4. Subject: Re: Timer (0x1C) Interrupt exactly 18.2 seconds?
  5. Date: 26 Feb 1996 00:54:21 GMT
  6. Organization: AEtna Insurance Agency
  7. Message-ID: <4gr0bt$qck@masala.cc.uh.edu>
  8. References: <4givrv$cim@midland.co.nz> <Dn9FMB.19s.0.sheppard@torfree.net>
  9. NNTP-Posting-Host: sip-14149.public-dialups.uh.edu
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 1.1 (Windows; U; 16bit)
  14.  
  15. Try this:
  16.  
  17. outp(0x43,0x40);
  18. outp(0x3c,0x0b);
  19. outp(0x3c,0xe9);
  20.  
  21. The timer now ticks 20 times a second.
  22.  
  23. -- 
  24. |\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\|
  25. Steven Sensarn -- txs53132@bayou.uh.edu
  26. |/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/|
  27.  
  28.  
  29.